<template>
  <div id="app">
    <blogheader />
    <router-view />
    <!-- 让其缓存addblog 页面 -->
    <!-- <keep-alive>
      <router-view v-if="$route.meta.keepAlive"></router-view>
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive"></router-view> -->
  </div>
</template>

<script>
  import blogheader from './components/blogheader'

  export default {
    name: 'App',
    components: {
      blogheader
    }
  }

</script>

<style>
  body {
    margin: 0;
  }

</style>
